//
//  MonitorModel.h
//  CityFire
//
//  Created by Liuyz on 2017/8/16.
//  Copyright © 2017年 刘养柱. All rights reserved.
//

#import "BaseModel.h"

@interface MonitorModel : BaseModel

@property(nonatomic,assign)BOOL isSelect;
@property (nonatomic, copy) NSString *tableName;
@property (nonatomic, copy)  NSString *cjInterval;
@property (nonatomic, assign) long   num;
@property (nonatomic, assign) long  deviceCode;
@property (nonatomic, assign) long  deviceCode1;
@property (nonatomic, assign) long   timeHistory;
@property (nonatomic, copy) NSString   *hotline;

@property (nonatomic, copy) NSString *deviceOrg;
@property (nonatomic, copy) NSString *record1;
@property (nonatomic, copy) NSString *record2;
@property (nonatomic, copy) NSString *record3;
@property (nonatomic, copy) NSString *misinformation;
@property (nonatomic, copy) NSString *deviceName;
@property (nonatomic, copy) NSString *deviceName1;
@property (nonatomic, copy) NSString *deviceType;
@property (nonatomic, copy) NSString *deviceType1;

@property (nonatomic, copy) NSString *deviceAddress;
@property (nonatomic, copy) NSString *deviceAddress1;
@property (nonatomic, copy) NSString *longitude;
@property (nonatomic, copy) NSString *latitude;
@property (nonatomic, copy) NSString *linkMan;
@property (nonatomic, copy) NSString *linkMan1;
@property (nonatomic, copy) NSString *phone;
@property (nonatomic, assign) long   detectorAmount;
@property (nonatomic, assign) long   detectorAmount1;
@property (nonatomic, copy) NSString *controllerManufacturer;
@property (nonatomic, copy) NSString *controllerManufacturer1;
@property (nonatomic, copy) NSString *controllerSpec;
@property (nonatomic, copy) NSString *controllerSpec1;
@property (nonatomic, copy) NSString *itemCode;
@property (nonatomic, copy) NSString *itemCode1;
@property (nonatomic, copy) NSString *lastTime;
@property (nonatomic, copy) NSString *purchaseTime;
@property (nonatomic, copy) NSString *purchaseTime1;
@property (nonatomic, copy) NSString *wbnx;
@property (nonatomic, copy) NSString *recordUsrLog;
@property (nonatomic, copy) NSString *remark;

@property (nonatomic, copy) NSString *deviceNameInfo; // 名称
@property (nonatomic, copy) NSString *deviceTypeInfo; // 类型
@property (nonatomic, copy) NSString *addressInfo;    // 经纬度
@property (nonatomic, copy) NSString *contactInfo;    // 联系方式

@property (nonatomic, copy) NSString *status1;    // 联系方式

@property (nonatomic, copy) NSString *status;    // 联系方式


@property (nonatomic, strong) NSArray *itemsArray;

//"table_name": "device_record20170705",
//"num": 2,
//"device_code": 222222,
//"time_history": 1499235634000,
//"record1": "6号主机",
//"record2": "报警",
//"record3": "XX报警",
//"misinformation": "1",
//"device_name": "消防火灾报警器2",
//"device_type": "火灾报警系统",
//"device_address": "北区14F-7",
//"longitude": "22.3",
//"latitude": "11.2",
//"link_man": "刘兵",
//"phone": "15306875692",
//"detector_amount": 6,
//"controller_manufacturer": "xuanmi",
//"controller_spec": "KB-HJ6900",
//"item_code": "20160723.JX2",
//"purchase_time": "2017-03-26",
//"wbnx": "3",
//"record_usr_log": ""

//"num":3,
//"deviceType":"2333111111gg",
//"deviceCode":222221,
//"deviceName":"编号2设备",
//"deviceOrg":"万达广场",
//"deviceAddress":"7F-9",
//"longitude":"1111.111",
//"latitude":"111.111",
//"remark":"2ddd",
//"status":"01",
//"cjInterval":"[cj_interval]",
//"lastTime":null,
//"linkMan":"xxxxx",
//"phone":"xxxx",
//"detectorAmount":22,
//"controllerManufacturer":"xxxxx",
//"controllerSpec":"xxxxxx",
//"itemCode":"xxxxx",
//"purchaseTime":"2017-04-06",
//"wbnx":"xxxxxxxxx",
//"hotline":"11111111111"



@end

@interface MonitorCountModel : BaseModel

@property (nonatomic, strong) NSNumber *waringSize;

@end
